/*
    SUSAN® - Sole of Unix Save ANything

   Copyright (C) 2016-2019 Skyatlas co. ltd

   
*/

#ifndef BAREOS_DIRD_AUTH_PAM_H_
#define BAREOS_DIRD_AUTH_PAM_H_

#include <string>

class BareosSocket;
bool PamAuthenticateUser(BareosSocket* UA_sock,
                         const std::string& username,
                         const std::string& passwd,
                         std::string& authenticated_username);

#endif /* BAREOS_DIRD_AUTH_PAM_H_ */
